﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SistemaControleOrcamentario
{
    public partial class Conta : Form
    {
        public Conta()
        {
            InitializeComponent();

        }

        private void btnGravar_Click(object sender, EventArgs e)
        {
            DataLayer.Model.Conta cont = new DataLayer.Model.Conta();
            cont.Descricao = txtDescricao.Text;

            cont.Salvar();
            txtDescricao.Text = "";
        }

    }
}
